package com.heqiang.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.heqiang.utils.DateUtils;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class User {
    private Long id;
    private String name;
    @JSONField(format = DateUtils.formatStr_yyyyMMdd)
    private Date birthday;
    @JSONField(format = DateUtils.formatStr_yyyyMMddHHmmss)
    private Date createTime;
    private String phone;
}
